<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Comment</title>
    <link rel="stylesheet" href="css/comment.css">
    <link rel="stylesheet" href="css/blog_edit.css">

    <link rel="stylesheet" href="editor.md/css/editormd.min.css">
    <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <script src="editor.md/lib/marked.min.js"></script>
    <script src="editor.md/lib/prettify.min.js"></script>
    <script src="editor.md/editormd.js"></script>
</head>

<body>
    <div class="nav">
        <div class="head">
            <div class="head-img">
                <img src="./image/head1.jpeg" alt="ggggg" class="img">
            </div>
            <p id="username">我的博客网站</p>
        </div>
        <div class="funcBar">
            <div class="choice">
                <a href="#" class="choice-c">主页</a>
                <a href="#" class="choice-c">写博客</a>
                <a href="#" class="choice-c">注册</a>
            </div>
        </div>
    </div>

    <div class="edit_container">
        <div id="submit">
            <input type="text" name="title_edit" id="titleEdit" value="在这里输入文章标题">
            <div id="submit_button_div"><button id="submit_button">发布文章</button></div>
        </div>
        
        <div id="editor">

        </div>
    </div>
    <script>
        var editor=editormd("editor",{
            width:"100%",
            height:"calc(100% - 50px)",
            markdown:"## hello world",
            path:"editor.md/lib/"
        });
    </script>
</body>

</html>